import Vue from 'vue'
import Vant, {
  Locale,
  Lazyload,
  Toast
} from 'vant'
// import Vant, { Locale, Toast } from 'vant'
import 'vant/lib/index.css'

const options = {
  loading: 'http://img.zcool.cn/community/012b3c599276cc0000002129ebff53.gif'
}
Vue.use(Vant).use(Toast).use(Lazyload, options)

Vue.prototype.$Toast = Toast